package persistency;

/**
 * EntityManagerHelper.java
 * Purpose: The persistent class for the product database table.
 * 
 * @author Hans Brems
 * @version 0.1 14/04/2012
 */

import javax.persistence.EntityManager;
import javax.persistence.Persistence;

public class EntityManagerHelper {
	/** Returns an instance of the entity manager */
	public static EntityManager getEntityManager() {
		// Create an instance of the entity manager
		return Persistence.createEntityManagerFactory("MiniServiceDesk")
					.createEntityManager();
	}
}